package org.example.service;

import org.example.pojo.BattleData;
import org.example.pojo.User;

import java.util.Map;

public interface AppService {

    /**
     * 获取目标用户的战绩数据
     * @param user 目标用户
     * @return 目标用户的战斗数据
     */
    BattleData queryBattleData(User user);

    Map<String, Object> queryBattle(String username);
}
